package com.zzyl.nursing.job;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Component
@Slf4j
public class MyJob {

    public void test(){
        log.info("我执行了 {}", LocalDateTime.now());
    }
}
